DodoRunner.Background = function(imageName, scrollSpeed, z, y, x){
var
    bitmap = undefined,
    bitmapAux = undefined,

    init = function(){
        bitmap = new createjs.Bitmap(DodoRunner.AssetManager.getImageByName(imageName));
        bitmapAux = new createjs.Bitmap(DodoRunner.AssetManager.getImageByName(imageName));
        bitmapAux.x = bitmap.image.width;
        DodoRunner.Canvas.addChild(bitmap);
        DodoRunner.Canvas.addChild(bitmapAux);
        if(z){
            bitmap.z = z;
            bitmapAux.z = z;
        }
        if(x){
            bitmap.x += x;
            bitmapAux.x += x;
        }
        if(y){
            bitmap.y = y;
            bitmapAux.y = y;
        }
        scroll();
    },

    scroll = function(dt){
        var camX = DodoRunner.Canvas.getCameraX();
        bitmap.x += scrollSpeed;
        bitmapAux.x += scrollSpeed;
        if(bitmap.x + bitmap.image.width < -camX){
            bitmap.x += bitmap.image.width*2;
        }
        if(bitmapAux.x + bitmapAux.image.width < -camX){
            bitmapAux.x += bitmapAux.image.width*2;
        }
        requestAnimationFrame(scroll);
    }

    init();

}